/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-08-22 16:17:47
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-08-25 09:38:10
 * @FilePath: \后端管理系统\app\src\api\good.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { getUrl, postUrl } from '../utils/request'


/**
 * @description: 商品列表
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const httpGoods = async (url, params) => await getUrl(url, params);

/**
 * @description: 商品分类
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const httpCateGories = async (url, params) => await getUrl(url, params);


/**
 * @description: 添加商品
 * @param {*} url
 * @param {*} params
 * @return {*}
 */
export const httpAddCateGories = async (url, params) => await postUrl(url, params);
